import 'package:flutter/material.dart';
import '../controls/login_animation_controller.dart';

class SocialLoginWidget extends StatelessWidget {
  final LoginAnimationController animationController;

  const SocialLoginWidget({
    super.key,
    required this.animationController,
  });

  @override
  Widget build(BuildContext context) {
    return SlideTransition(
      position: animationController.slideAnimation,
      child: Row(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          Container(
            decoration: BoxDecoration(
              color: Colors.white,
              borderRadius: BorderRadius.circular(12),
              boxShadow: [
                BoxShadow(
                  color: Colors.grey.withOpacity(0.1),
                  blurRadius: 10,
                  offset: const Offset(0, 5),
                ),
              ],
            ),
            child: IconButton(
              icon: const Icon(Icons.wechat),
              color: const Color(0xFF10B981),
              onPressed: () {},
            ),
          ),
          const SizedBox(width: 24),
          Container(
            decoration: BoxDecoration(
              color: Colors.white,
              borderRadius: BorderRadius.circular(12),
              boxShadow: [
                BoxShadow(
                  color: Colors.grey.withOpacity(0.1),
                  blurRadius: 10,
                  offset: const Offset(0, 5),
                ),
              ],
            ),
            child: IconButton(
              icon: const Icon(Icons.email),
              color: const Color(0xFF10B981),
              onPressed: () {},
            ),
          ),
        ],
      ),
    );
  }
} 